package com.yunji.order.wechat;

import lombok.Data;
import lombok.ToString;

/**
 * @author : peter-zhu
 * @date : 2025/3/19 17:46
 * @description : TODO
 **/
@Data
@ToString
public class WechatCallbackDTO {
    private boolean success;
    private String tradeCode;
    private String wechatCode;
    private String time;

    public WechatCallbackDTO(boolean success, String tradeCode, String wechatCode, String time) {
        this.success = success;
        this.time = time;
        this.tradeCode = tradeCode;
        this.wechatCode = wechatCode;
    }

    public WechatCallbackDTO(boolean success) {
        this.success = success;
    }
}
